package com.anita.member.adapter.in.web.dto;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.Size;

/**
 * @author qiu
 * @date 2025/10/20
 * @description
 */
public record MemberLoginRequest (
    @NotBlank(message = "用户名不能为空")
    String username,

    @NotBlank(message = "密码不能为空")
    @Size(min = 6, message = "密码长度必须在6位以上")
    String password
) {
}
